package vn.qnamuni.calendar.constants;

import java.util.Arrays;
import java.util.List;

import android.provider.BaseColumns;

public class PersonContract {
	public static final String PENDING_PUBLISH_KEY = "pendingPublishReauthorization";
	

	public static final List<String> PERMISSIONS = Arrays.asList("publish_actions");
	
	public static final String DEFAULT_SMS = "Have a nice day";
	
	public static final String EDIT_CODE = "edit";
	public static final String ADD_CODE = "add";
	public static final String MODE = "MODE";
	public static final String ID_MODE = "id";

	public abstract class Entry implements BaseColumns {
		// Contacts Table Columns names
		/*
		 * ORDERED COLUMNS
		 */
		// local attributes
		public static final String KEY_ID = "_id";
		
		public static final String KEY_EVENT_ID = "event_id"; 
		public static final String KEY_TIME = "time"; //default 12H
		public static final String KEY_IS_NOTI = "date_noti"; // default = true
		public static final String KEY_PHONE = "phone";
		public static final String KEY_MESSAGE = "message"; //default = "Happy"
		
		// facebook attributes
		public static final String KEY_MODE = "MODE";
		public static final String KEY_NAME = "name";
		public static final String KEY_USERNAME = "username";
		public static final String KEY_DATE = "date";
		public static final String KEY_UID = "uid"; //default = null => distingush
		public static final String KEY_AVATAR = "avatar";
		
		public static final String KEY_FADDRESS = "faddress";
		
	}

	public static final String[] keySet = { 
		Entry.KEY_ID,
		Entry.KEY_UID, 
		Entry.KEY_NAME,
		Entry.KEY_DATE, 
		Entry.KEY_IS_NOTI,
		Entry.KEY_TIME,
		Entry.KEY_EVENT_ID,
		Entry.KEY_PHONE,
		Entry.KEY_MESSAGE, 
		Entry.KEY_AVATAR,
		Entry.KEY_MODE,
		Entry.KEY_USERNAME};
	
	public static final int noOfColumn = keySet.length;
	
}

